package com.ds.base.msg;

import com.ds.base.msg.model.Cargo;
import com.ds.base.msg.model.CargoAttachment;
import com.ds.base.msg.model.CompanyAttachment;
import com.ds.base.utils.CBTUtil;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

public class CargoFilingMsg extends ACBTPostMsg {

    @NotNull(message = "tradeCode不能为空")
    @Valid
    private String tradeCode;

    @NotNull(message = "cargo不能为空")
    @Valid
    private Cargo cargo;

    @NotNull(message = "attachment不能为空")
    @Valid
    private CargoAttachment attachment;


    /**
     * 操作编码1:新增; 2:修改; no
     */
    @NotNull(message = "operationCode不能为空")
    private String operationCode;

    //扩展 start
    /**
     * 扩展 1
     * 商品类型: 0:直邮 1:保税 no
     */
    @NotNull
    private String spt1;
    /**
     * 扩展 2 yes
     */
    private String spt2;
    /**
     * 扩展 3 yes
     */
    private String spt3;
    /**
     * 扩展 4 yes
     */
    private String spt4;
    /**
     * 扩展 5 yes
     */
    private String spt5;
    /**
     * 扩展 6 yes
     */
    private String spt6;
    /**
     * 扩展 7 yes
     */
    private String spt7;
    /**
     * 扩展 8 yes
     */
    private String spt8;
    /**
     * 扩展 9 yes
     */
    private String spt9;
    /**
     * 扩展 10 yes
     */
    private String spt10;
    //附件 end


    public Cargo getCargo() {
        return cargo;
    }

    public void setCargo(Cargo cargo) {
        this.cargo = cargo;
    }

    public CargoAttachment getAttachment() {
        return attachment;
    }

    public void setAttachment(CargoAttachment attachment) {
        this.attachment = attachment;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public String getSpt1() {
        return spt1;
    }

    public void setSpt1(String spt1) {
        this.spt1 = spt1;
    }

    public String getSpt2() {
        return spt2;
    }

    public void setSpt2(String spt2) {
        this.spt2 = spt2;
    }

    public String getSpt3() {
        return spt3;
    }

    public void setSpt3(String spt3) {
        this.spt3 = spt3;
    }

    public String getSpt4() {
        return spt4;
    }

    public void setSpt4(String spt4) {
        this.spt4 = spt4;
    }

    public String getSpt5() {
        return spt5;
    }

    public void setSpt5(String spt5) {
        this.spt5 = spt5;
    }

    public String getSpt6() {
        return spt6;
    }

    public void setSpt6(String spt6) {
        this.spt6 = spt6;
    }

    public String getSpt7() {
        return spt7;
    }

    public void setSpt7(String spt7) {
        this.spt7 = spt7;
    }

    public String getSpt8() {
        return spt8;
    }

    public void setSpt8(String spt8) {
        this.spt8 = spt8;
    }

    public String getSpt9() {
        return spt9;
    }

    public void setSpt9(String spt9) {
        this.spt9 = spt9;
    }

    public String getSpt10() {
        return spt10;
    }

    public void setSpt10(String spt10) {
        this.spt10 = spt10;
    }

    public String getTradeCode() {
        return tradeCode;
    }

    public void setTradeCode(String tradeCode) {
        this.tradeCode = tradeCode;
    }

    @Override
    public String getReqUrl() {
        return CBTUtil.URL_CARGO_FILING;
    }
}